from django.conf.urls import patterns, include, url
# from polls import views

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'Wen.views.home', name='home'),
    # url(r'^Wen/', include('Wen.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

	# Potter
	# url(r'^$', 'polls.views.index'),
	# url(r'^$', name='index', 'polls.views.index') #  TODO
	# url(r'^$', 'polls.views.index', name='index'), # True Syntax
	# url(r'^$', name='index', view='polls.views.index') #  TODO
	# url(r'^$', views.index, name='index'),
	url(r'^polls/', include('polls.urls', namespace='polls')), # TODO

	# url(r'^$', views.index, name='index'),
	# url(r'^(?P<poll_id>\d+)/$', views.detail, name='detail'),
	# url(r'^(?P<poll_id>\d+)/results/$', views.results, name='results'),
	# url(r'^(?P<poll_id>\d+)/vote/$', views.vote, name='vote'),
)
